package com.mall.client.user;

import java.util.List;

import com.mall.pojo.Sess;

public interface SessService {
	public Integer insertSess(Sess sess);
	
	public Integer updateSess(Sess sess);
	
	public List<Sess> getListBySessionKey(String sessionKey,Integer commonOnlyKey);
	
	public List<Sess> getListBySessionKeyAndUserId(String sessionKey,Long userId,Integer commonOnlyKey);
	
	public void deleteBySessionKeyAndUserId(String sessionKey,Long userId);
}
